import { BASE_PRE } from "../utils/base.js";

const forms = {};

forms.list = {
  url: BASE_PRE + "/forms/pages",
  method: "post",
  loadingPreset: {
    background: "rgba(0,0,0,0.3)",
  },
};

forms.save = {
  url: BASE_PRE + "/forms/save",
  method: "post",
};

forms.del = {
  url: BASE_PRE + "/forms/del",
  method: "get",
};

forms.itemList = {
  url: BASE_PRE + "/forms/items/pages",
  method: "post",
  loadingPreset: {
    background: "rgba(0,0,0,0.3)",
  },
};

export default forms;
